﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListUserControl.ascx.cs" Inherits="Template_ListUserControl" %>
<asp:Repeater ID="rptleftmenusub" runat="server"  DataSourceID="ods">
                        <ItemTemplate>
                            <li><a href='<%# Eval("Url") %>?id=<%# Eval("ID") %>'>
                                <%# DataBinder.Eval(Container.DataItem,"Name") %></a> </li>
                        </ItemTemplate>
                    </asp:Repeater>
                    <asp:ObjectDataSource ID="ods" runat="server"  DataObjectTypeName="NewsPub.Classis" TypeName="NewsPub.Classis"
                        OldValuesParameterFormatString="original_{0}" SelectMethod="FindAllChildsNoParent"
                        >
                        <SelectParameters>
                            <asp:Parameter Name="ParentID" Type="Int32" />
                        </SelectParameters>
                    </asp:ObjectDataSource>